% \part{Data Visualization}
\part{数据可视化}
\label{part-dv}

{\Large \emph{by Till Tantau}}

\bigskip
\noindent

\begin{codeexample}[graphic=white,preamble={\usetikzlibrary{datavisualization.formats.functions}}]
\tikz \datavisualization [scientific axes=clean]
[
  visualize as smooth line=Gaussian,
  Gaussian={pin in data={text={$e^{-x^2}$},when=x is 1}}
]
data [format=function] {
  var x : interval [-7:7] samples 51;
  func y = exp(-\value x*\value x);
}
[
  visualize as scatter,
  legend={south east outside},
  scatter={
    style={mark=*,mark size=1.4pt},
    label in legend={text={
        $\sum_{i=1}^{10} x_i$, where $x_i \sim U(-1,1) $}}}
]
data [format=function] {
  var i : interval [0:1] samples 20;
  func y = 0;
  func x = (rand + rand + rand + rand + rand +
            rand + rand + rand + rand + rand);
};
\end{codeexample}

\include{parts/Data-Visualization/sections/pgfmanual-en-dv-introduction}
\include{parts/Data-Visualization/sections/pgfmanual-en-dv-main}
\include{parts/Data-Visualization/sections/pgfmanual-en-dv-formats}
\include{parts/Data-Visualization/sections/pgfmanual-en-dv-axes}
% \include{parts/Data-Visualization/sections/pgfmanual-en-dv-visualizers}
% \include{parts/Data-Visualization/sections/pgfmanual-en-dv-stylesheets}
% \include{parts/Data-Visualization/sections/pgfmanual-en-dv-polar}
% \include{parts/Data-Visualization/sections/pgfmanual-en-dv-backend}

\clearpage